 package com.education.platform.management.service;

 import com.education.platform.common.service.BaseService;
 import com.education.platform.dao.entity.ExaminPaperDO;
 import com.education.platform.dao.entity.QuestionBankDO;
 import com.education.platform.dao.model.ExaminPaperModel;

 import java.util.List;

 /**
* describe: 试卷
* @author : 
* @date: 2020-07-15 08:43:11.650
**/
public interface ExaminPaperService  extends BaseService<ExaminPaperDO> {


     /**
      * 试卷列表
      * @param userId
      * @param gradeType
      * @return
      */
    List<ExaminPaperModel> getPaperList(Integer userId, String gradeType);

     /**
      * 保存试卷
      * @param paperDO
      * @param questionIds
      */
    void save(ExaminPaperDO paperDO,List<Integer> questionIds);

     /**
      * 查询试卷
      * @param paperId
      * @return
      */
     List<QuestionBankDO> getQuestionsByPaperId(Integer paperId);



}
